<template>
	<div class="container">
		<div class="img"><slot name="img"></slot></div>
		<div>
			<div class="category"><slot name="category"></slot></div>
			<div class="num"><slot name="num"></slot></div>
		</div>
	</div>
</template>

<script>
	import { number } from 'echarts';
	import countTo from 'vue-count-to';
	export default {
		name: '',
		components: { countTo },
		data() {
			return {};
		},
	};
</script>
<style scoped>
	.container {
		display: flex;
		justify-content: center;
		align-items: center;
		border: 1px solid #fff;
		height: 0.75rem;
		margin-top: 0.2rem;
		box-shadow: 0px 0px 0.25rem #b8a09b inset;
		.img {
			height: 80%;
			img {
				height: 100%;
				border: 2px solid #fff;
				border-radius: 20%;
				padding: 0.0938rem;
			}
		}
		div {
			width: 1.25rem;
			text-align: center;
			.category {
				font-size: 0.1875rem;
				font-weight: 600;
				letter-spacing: 0.0313rem;
			}
			.num {
				font-size: 0.1625rem;
			}
		}
	}
</style>
